package com.meiqiongproperty.yiguanjia.httpbean.tenement.pay;

import com.google.gson.annotations.SerializedName;

/**
 * @version V1.0
 * @packge com.meiqiongproperty.yiguanjia.httpbean.tenement.pay
 * @User ChenJing
 * @Date 2017/5/25
 */

public class CommPayWX {

    /**
     * order : {"Id":"P636314920020761856UBN","CreateBy":"13762093522","PropertyId":"3","HousesId":"3","BuildsId":"12","BuildRoomId":"3","UsersId":"12","UserPhone":"13762093522","BillTime":3,"RoomArea":"22222","BillType":1,"OrderTitle":"公共物业费:P636314920020761856UBN","PayMethod":2,"UnitCost":"123.00","OrderPrice":"8199918.00"}
     * parameter : {"status":true,"parameter":{"appid":"wx426b3015555a46be","noncestr":"g8RJY2vWsueENyS4","package":"Sign=WXPay","partnerid":"1900009851","prepayid":"wx2017052522264228d11fa91c0089564515","timestamp":1495722402,"sign":"15F292648275298C64FB9F506F540BBB"}}
     */

    private OrderBean order;
    private ParameterBeanX parameter;

    public OrderBean getOrder() {
        return order;
    }

    public void setOrder(OrderBean order) {
        this.order = order;
    }

    public ParameterBeanX getParameter() {
        return parameter;
    }

    public void setParameter(ParameterBeanX parameter) {
        this.parameter = parameter;
    }

    public static class OrderBean {
        /**
         * Id : P636314920020761856UBN
         * CreateBy : 13762093522
         * PropertyId : 3
         * HousesId : 3
         * BuildsId : 12
         * BuildRoomId : 3
         * UsersId : 12
         * UserPhone : 13762093522
         * BillTime : 3
         * RoomArea : 22222
         * BillType : 1
         * OrderTitle : 公共物业费:P636314920020761856UBN
         * PayMethod : 2
         * UnitCost : 123.00
         * OrderPrice : 8199918.00
         */

        private String Id;
        private String CreateBy;
        private String PropertyId;
        private String HousesId;
        private String BuildsId;
        private String BuildRoomId;
        private String UsersId;
        private String UserPhone;
        private int BillTime;
        private String RoomArea;
        private int BillType;
        private String OrderTitle;
        private int PayMethod;
        private String UnitCost;
        private String OrderPrice;

        public String getId() {
            return Id;
        }

        public void setId(String Id) {
            this.Id = Id;
        }

        public String getCreateBy() {
            return CreateBy;
        }

        public void setCreateBy(String CreateBy) {
            this.CreateBy = CreateBy;
        }

        public String getPropertyId() {
            return PropertyId;
        }

        public void setPropertyId(String PropertyId) {
            this.PropertyId = PropertyId;
        }

        public String getHousesId() {
            return HousesId;
        }

        public void setHousesId(String HousesId) {
            this.HousesId = HousesId;
        }

        public String getBuildsId() {
            return BuildsId;
        }

        public void setBuildsId(String BuildsId) {
            this.BuildsId = BuildsId;
        }

        public String getBuildRoomId() {
            return BuildRoomId;
        }

        public void setBuildRoomId(String BuildRoomId) {
            this.BuildRoomId = BuildRoomId;
        }

        public String getUsersId() {
            return UsersId;
        }

        public void setUsersId(String UsersId) {
            this.UsersId = UsersId;
        }

        public String getUserPhone() {
            return UserPhone;
        }

        public void setUserPhone(String UserPhone) {
            this.UserPhone = UserPhone;
        }

        public int getBillTime() {
            return BillTime;
        }

        public void setBillTime(int BillTime) {
            this.BillTime = BillTime;
        }

        public String getRoomArea() {
            return RoomArea;
        }

        public void setRoomArea(String RoomArea) {
            this.RoomArea = RoomArea;
        }

        public int getBillType() {
            return BillType;
        }

        public void setBillType(int BillType) {
            this.BillType = BillType;
        }

        public String getOrderTitle() {
            return OrderTitle;
        }

        public void setOrderTitle(String OrderTitle) {
            this.OrderTitle = OrderTitle;
        }

        public int getPayMethod() {
            return PayMethod;
        }

        public void setPayMethod(int PayMethod) {
            this.PayMethod = PayMethod;
        }

        public String getUnitCost() {
            return UnitCost;
        }

        public void setUnitCost(String UnitCost) {
            this.UnitCost = UnitCost;
        }

        public String getOrderPrice() {
            return OrderPrice;
        }

        public void setOrderPrice(String OrderPrice) {
            this.OrderPrice = OrderPrice;
        }
    }

    public static class ParameterBeanX {
        /**
         * status : true
         * parameter : {"appid":"wx426b3015555a46be","noncestr":"g8RJY2vWsueENyS4","package":"Sign=WXPay","partnerid":"1900009851","prepayid":"wx2017052522264228d11fa91c0089564515","timestamp":1495722402,"sign":"15F292648275298C64FB9F506F540BBB"}
         */

        private boolean status;
        private ParameterBean parameter;

        public boolean isStatus() {
            return status;
        }

        public void setStatus(boolean status) {
            this.status = status;
        }

        public ParameterBean getParameter() {
            return parameter;
        }

        public void setParameter(ParameterBean parameter) {
            this.parameter = parameter;
        }

        public static class ParameterBean {
            /**
             * appid : wx426b3015555a46be
             * noncestr : g8RJY2vWsueENyS4
             * package : Sign=WXPay
             * partnerid : 1900009851
             * prepayid : wx2017052522264228d11fa91c0089564515
             * timestamp : 1495722402
             * sign : 15F292648275298C64FB9F506F540BBB
             */

            private String appid;
            private String noncestr;
            private String wxpackage;
            private String partnerid;
            private String prepayid;
            private String timestamp;
            private String sign;


            public String getAppid() {
                return appid;
            }

            public void setAppid(String appid) {
                this.appid = appid;
            }

            public String getNoncestr() {
                return noncestr;
            }

            public void setNoncestr(String noncestr) {
                this.noncestr = noncestr;
            }

            public String getPackageX() {
                return wxpackage;
            }

            public void setPackageX(String wxpackage) {
                this.wxpackage = wxpackage;
            }

            public String getPartnerid() {
                return partnerid;
            }

            public void setPartnerid(String partnerid) {
                this.partnerid = partnerid;
            }

            public String getPrepayid() {
                return prepayid;
            }

            public void setPrepayid(String prepayid) {
                this.prepayid = prepayid;
            }

            public String getTimestamp() {
                return timestamp;
            }

            public void setTimestamp(String timestamp) {
                this.timestamp = timestamp;
            }

            public String getSign() {
                return sign;
            }

            public void setSign(String sign) {
                this.sign = sign;
            }

            @Override
            public String toString() {
                return "{" +
                        "appid='" + appid + '\'' +
                        ", noncestr='" + noncestr + '\'' +
                        ", packageX='" + wxpackage + '\'' +
                        ", partnerid='" + partnerid + '\'' +
                        ", prepayid='" + prepayid + '\'' +
                        ", timestamp=" + timestamp +
                        ", sign='" + sign + '\'' +
                        '}';
            }
        }
    }
}
